package com.wz;


import java.math.BigDecimal;

public class Application {


    public static void main(String[] args) {
        BigDecimal bg=new BigDecimal("1.01");

        BigDecimal bg2=new BigDecimal("1.02");
        System.out.println(bg.compareTo(bg2));
    }
}
